package com.example.demo.tests;

import com.example.demo.commen.Utils;
import org.openqa.selenium.By;

public class ListPage extends Utils {

    public static String url = "http://127.0.0.1:8080/blog_list.html";

    public ListPage() {
        super(url);
    }

   /* //未登录状态下----访问列表页
    public void ListNoLogin() throws InterruptedException {

        Thread.sleep(2000);
        driver.findElement(By.cssSelector("body > div.nav > a:nth-child(6)")).click();

        driver.get(url);

        String ex = driver.getTitle();

        assert ex.equals("博客登陆页");
       driver.quit();

    }*/

    public void ListByLogin() {




    }



}
